        <?php if(isset($questions)): ?>
           	<div class="column" style="width: 30%;" onmouseover="Hovercat('<?php echo $questions->id; ?>')" onmouseout="Outcat('<?php echo $questions->id; ?>')">
	            	<a href="javascript:;" class="art" title="<?php echo $questions->title;?>"><?php echo character_limiter($questions->title,50); ?></a>
	                <div class="action" id="neocat-<?php echo $questions->id; ?>">
	                	<?php $answer_info = $this->questions_model->get_answer_info_by_id_questions($questions->id);?>	                		                
	                    <img src="<?php echo img_link('answers.gif', 'admin'); ?>">
	                    <a href="javascript:void(0)" onclick="open_form('<?php echo action_link('answers/'.$questions->id); ?>')"><?php if(isset($answer_info) && $answer_info == null) {?>Trả lời <?php } else {?> Sửa trả lời <?php } ?></a>
	                    
	                    <img src="<?php echo img_link('edit.gif', 'admin'); ?>"><a href="javascript:void(0)" onclick="open_form('<?php echo action_link('edit/'.$questions->id); ?>')">Sửa</a><img src="<?php echo img_link('delete.gif', 'admin'); ?>"><a href="javascript:void(0)" onclick="questions_delete('<?php echo $questions->id; ?>')"><font color="#be0000">Xóa</font></a>
	                </div>
	            </div>  
	            <?php $customer_info = $this->questions_model->get_customer_info($questions->id_customer);?>	            	            
	            <div class="column" style="width: 20%;"><a href="#"><?php echo character_limiter($customer_info[0]->email,20);?></a></div>
	            <div class="column" style="width: 10%;"><font class="date"><?php echo date('d-m-Y', strtotime($questions->date_create)); ?></font></div>          
            	<div class="column" style="width: 10%;">	            	
	            	<?php if(isset($answer_info) && $answer_info != null) {?>
	            		<img src="<?php echo img_link('yes.png', 'admin'); ?>">
	            	<?php } else {?>
	            		<img src="<?php echo img_link('no.png', 'admin'); ?>">
	            	<?php }?>
	            </div>
            	<div class="column" style="width: 10%;">
		            <?php if($questions->usually == 'no'): ?>
					<a href="javascript:void(0);" onclick="question_usually('<?php echo $questions->id;?>', 'yes')"><img src="<?php echo img_link('pending.png', 'admin'); ?>" class="icon png" title="True" alt="True"></a>
		            <?php else: ?>
					<a href="javascript:void(0);" onclick="question_usually('<?php echo $questions->id;?>', 'no')"><img src="<?php echo img_link('active.png', 'admin'); ?>" class="icon png" title="False" alt="False"></a>
		            <?php endif; ?>
	            </div>
            	<div class="column" style="width: 8%;">
		            <?php if($questions->status == 'no'): ?>
					<a href="javascript:void(0);" onclick="question_status('<?php echo $questions->id;?>', 'yes')"><img src="<?php echo img_link('pending.png', 'admin'); ?>" class="icon png" title="Kích hoạt" alt="Kích hoạt"></a>
		            <?php else: ?>
					<a href="javascript:void(0);" onclick="question_status('<?php echo $questions->id;?>', 'no')"><img src="<?php echo img_link('active.png', 'admin'); ?>" class="icon png" title="Hủy kích hoạt" alt="Hủy kích hoạt"></a>
		            <?php endif; ?>
	            </div>
		<?php endif; ?>